import { combineReducers } from "redux";
import userReducer from "./user/reducer";

// 合并 reducer
const rootReducer = combineReducers({
    user: userReducer,
});

// 导出类型
export type RootState = ReturnType<typeof rootReducer>;

// 导出 reducer
export default rootReducer;
